package com.mobileares.midp.widgets.client.panel;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.SimplePanel;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2011-5-27
 * Time: 10:00:40
 * To change this template use File | Settings | File Templates.
 */
public class ClickPanel extends SimplePanel implements HasClickHandlers {

    public ClickPanel() {
    }

    public HandlerRegistration addClickHandler(ClickHandler handler) {

        return addDomHandler(handler, ClickEvent.getType());
    }
}
